<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/static/context/mytags.jsp"%>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>${sysname}-登陆/注册</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <%@ include file="../../../static/context/cssheader.jsp"%>
    <!-- 额外样式 -->

    <%@ include file="../../../static/context/cndheader.jsp"%>

</head>

<body>
<!--主体内容开始-->
<div class="login-box">
    <div class="login-logo">
        <img src="${basePath}/static/custom/images/logo.png" width="160" alt=""/>
    </div>
    <div class="login-form">
        <div class="bgWhiter">
            <!-- Nav tabs -->
            <ul class="nav nav-tabs bx-tabs-def tabs-login" role="tablist">
                <li role="presentation" class="active">
                    <a href="#tabs1" role="tab" data-toggle="tab">登录</a>
                </li>
                <li role="presentation">
                    <a href="#tabs2" role="tab" data-toggle="tab">注册</a>
                </li>
            </ul>
            <div class="tab-content m-t-md padding-xl">
                <!--tabs1用户登录-->
                <div role="tabpanel" class="tab-pane active" id="tabs1">
                    <form role="form" id="loginForm" method="post">
                        <div class="bor-input">
                            <i class="glyphicon glyphicon-user am-text-gray"></i>
                            <input type="text" class="no-bor-input input-sm" id="username" name="username" placeholder="用户名">
                        </div>
                        <div class="bor-input">
                            <i class="glyphicon glyphicon-lock am-text-gray"></i>
                            <input type="password" class="no-bor-input input-sm" id="password" name="password" placeholder="密码">
                        </div>
                        <br>
                        <button type="submit" class="btn btn-block btn-primary btn-lg" value="登录">登录</button>
                        <%--<a href="javascript:void(0);" id="loginbtn" class="btn btn-block btn-primary btn-lg">登录</a>--%> <br>
                    </form>
                </div>

                <!--tabs2注册-->
                <div role="tabpanel" class="tab-pane" id="tabs2">
                    <form role="form" id="registerForm">
                        <div class="bor-input">
                            <i class="glyphicon glyphicon-user am-text-gray"></i>
                            <input type="text" class="no-bor-input input-sm" id="username_r" name="username_r"  placeholder="用户名">
                        </div>
                        <div class="bor-input">
                            <i class="glyphicon glyphicon-lock am-text-gray"></i>
                            <input type="password" class="no-bor-input input-sm" id="password_r" name="password_r" placeholder="密码">
                        </div>
                        <div class="bor-input">
                            <i class="glyphicon glyphicon-lock am-text-gray"></i>
                            <input type="password" class="no-bor-input input-sm" id="confirm_password" name="confirm_password" placeholder="确认密码">
                        </div>
                        <br>
                        <%--<a href="index.html" class="btn btn-block btn-primary btn-lg">注册</a>--%>
                        <button type="submit" class="btn btn-block btn-primary btn-lg" value="注册">注册</button>
                        <br>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<%@ include file="/static/context/customjs.jsp"%>
<script type="text/javascript" src="${basePath}/static/jquery-validate/jquery.validate.min.js"></script>
<script type="text/javascript" src="${basePath}/static/js/custom/login.js"></script>
</body>
</html>

